# coding: UTF-8
# Filename : chain_part_data_model.py
# Company : imedia
# Author : rose
# -*-coding:utf-8 -*-

#xml头文件
xml_head = '''<?xml version="1.0" encoding="UTF-8" ?>'''
imedia_start = '''<imedia>'''
imedia_end = '''</imedia>'''


imedia_body = '''
<setting>
    <name>{name}</name>
    <use_weibo>{use_weibo}</use_weibo>
    <sina_weibo>{sina_weibo}</sina_weibo>
    <qq_weibo>{qq_weibo}</qq_weibo>
    <part_position>{part_position}</part_position>
    <use_comment>{use_comment}</use_comment>
</setting>
'''
#验证失败
key_error = xml_head + '''
<imedia>
<error>
<code>000</code>
<msg>通信验证失败</msg>
</error>
</imedia>
'''
